<!DOCTYPE html>
<html>
<head>
    <title></title>
    <#include "/header.html">

</head>
<body>
<div id="rrapp" v-cloak >
    <!--查询-->
    <el-form :inline="true" size="mini" >
        <el-form-item label="会员名">
            <el-input v-model="q.userName" placeholder="会员名"></el-input>
        </el-form-item>
        <el-form-item label="手机号码">
            <el-input v-model="q.mobile" placeholder="手机号码"></el-input>
        </el-form-item>
        <el-form-item label="商户名称">
            <el-input v-model="q.sellerName" placeholder="手机号码"></el-input>
        </el-form-item>
        <!--<el-form-item label="评价时间">
            <el-input v-model="q.createTime" placeholder="评价时间"></el-input>
        </el-form-item>-->
        <el-form-item>
            <el-button icon="el-icon-search" @click="search" circle></el-button>
        </el-form-item>
        <el-form-item>
            <el-button type="danger" @click="updateEvaluate(0)" icon="el-icon-delete">删除</el-button>
            <el-button type="warning" @click="updateEvaluate(1)"  icon="el-icon-view">屏蔽</el-button>
        </el-form-item>
    </el-form>

    <!--用户评论-->
    <el-table size="mini" :data="sellerEvaluateData" ref="sellerEvaluateTable" border stripe show-overflow-tooltip="true" style="width: 100%">

        <el-table-column
                type="selection"
                width="55">
        </el-table-column>

        <el-table-column    type="index"  label="#"  >  </el-table-column>

        <!--<el-table-column    label="操作"   width="100" >
            <template slot-scope="scope">
                <el-button
                        type="text"
                        size="mini"
                        @click="goDetail(scope.row.id)">查看订单</el-button>
                </el-button>
            </template>
        </el-table-column>-->

        <el-table-column    prop="userName"  label="会员名"   width="150" >  </el-table-column>

        <el-table-column    prop="mobile"  label="手机号码" width="150"  >  </el-table-column>

        <el-table-column    prop="descText"  label="评价内容"  >  </el-table-column>

        <el-table-column    prop="timeScore"  label="及时性得分"  width="100" >  </el-table-column>

        <el-table-column    prop="serviceScore"  label="服务满意度得分" width="110"  >  </el-table-column>

        <el-table-column    prop="qualityScore"  label="商品质量得分" width="100"   >  </el-table-column>

        <el-table-column    prop="comprehensiveScore"  label="综合得分" width="100"  >  </el-table-column>

        <el-table-column    prop="createTime"  label="评价时间"  width="150"  >  </el-table-column>

        <el-table-column    prop="disable"  label="是否屏蔽"  width="80"  >
            <template slot-scope="scope">
                <span style="color:red" v-if="scope.row.disable == 1">隐藏</span>
                <span style="color:green" v-if="scope.row.disable == 0">显示</span>
            </template>
        </el-table-column>

        <el-table-column    prop="goodsMsg"  label="商品信息"  >  </el-table-column>

        <el-table-column    prop="sellerName"  label="商户名称" width="150"  >  </el-table-column>

    </el-table>

    <!--分页插件-->
    <div style="text-align: center;margin: 15px">
        <el-pagination
                @size-change="handleSizeChange"
                @current-change="handleCurrentChange"
                :current-page="page.currentPage"
                :page-sizes="page.pageSizes"
                :page-size="page.pageSize"
                layout="total, sizes, prev, pager, next"
                :total="page.total">
        </el-pagination>
    </div>


</div>

<script src="${request.contextPath}/statics/js/modules/supp/sellerEvaluate.js?_${.now?long}"></script>
</body>
</html>